package com.quanquan.user.entity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import	java.util.Date;

@Data
@Entity
@Table(name = "oo_consecutive_record")
public class ConsecutiveRecord {

    /**
     * 主键
     */
    @Id
    @Column(name = "id", unique = true, length = 64)
    private String id;

    /**
     * 用户id
     */
    @Column(name = "user_id",length = 64)
    private String userId;

    /**
     * 用户id
     */
    @Column(name = "status",length = 64)
    private Integer status;

    /**
     * 创建时间
     */
    @Column(name = "create_time", nullable = false, length = 32)
    private String createTime;
}
